//
//  NSString+size.h
//  智云网校
//
//  Created by Damon on 2017/6/21.
//  Copyright © 2017年 bwx. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSString (Size)


- (CGSize)textSizeIn:(CGSize)size font:(UIFont *)font;
- (CGSize)textSizeIn:(CGSize)size font:(UIFont *)font breakMode:(NSLineBreakMode)breakMode;
- (CGSize)textSizeIn:(CGSize)size font:(UIFont *)font breakMode:(NSLineBreakMode)breakMode align:(NSTextAlignment)alignment;

- (NSString *)substrForLibrary;
- (NSString *)addstrForLibrary;
@end
